<?php
	require 'conn.php';
	$hotId = $_REQUEST['editId'];
	$shopId = $_REQUEST['shopId'];
	$query = "UPDATE collectmost_shop SET shop_id='$shopId' WHERE collect_id='$hotId'";
	mysql_query($query);
	
	echo "<br>修改成功, 返回<a href='listCollectMostShop.php'>收藏最多</a>";
?>